package com.dongdongshop.api;

import com.dongdongshop.common.Result;
import com.dongdongshop.dto.AddrDTO;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("dongdongshop-loginuser-service")
public interface LoginUserServiceApi {
    @PostMapping("/address/getId")
    Result<AddrDTO> getAddrById(@RequestParam Long id);
}
